﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002DE RID: 734
	public class TFetchSqlNode : TParseTreeNode
	{
		// Token: 0x17000570 RID: 1392
		// (get) Token: 0x06001934 RID: 6452 RVA: 0x0032BD03 File Offset: 0x00329F03
		public virtual TObjectName CursorName
		{
			get
			{
				return this.cursorName;
			}
		}

		// Token: 0x17000571 RID: 1393
		// (get) Token: 0x06001935 RID: 6453 RVA: 0x0032BD0B File Offset: 0x00329F0B
		public virtual TObjectNameList VariableNames
		{
			get
			{
				return this.variableNames;
			}
		}

		// Token: 0x06001936 RID: 6454 RVA: 0x0032BD13 File Offset: 0x00329F13
		public override void init(object arg1)
		{
			this.cursorName = (TObjectName)arg1;
			if (this.cursorName.ObjectType != 17)
			{
				this.cursorName.ObjectType = 17;
			}
		}

		// Token: 0x06001937 RID: 6455 RVA: 0x0032BD40 File Offset: 0x00329F40
		public override void init(object arg1, object arg2)
		{
			this.init(arg1);
			if (arg2 != null)
			{
				this.variableNames = (TObjectNameList)arg2;
				for (int i = 0; i < this.variableNames.size(); i++)
				{
					this.variableNames.getObjectName(i).ObjectType = 10;
				}
			}
		}

		// Token: 0x04001912 RID: 6418
		private TObjectName cursorName;

		// Token: 0x04001913 RID: 6419
		private TObjectNameList variableNames;
	}
}
